<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="refresh" content="6; url='http://wxshop.guoran100.com/'">
    <title>果然100活动</title>

    <!----引入微信JS SDK--->
<style type="text/css">
#topdiv {
    position: absolute;
    top: 0px;
    left: 0;
    text-align: center;
    z-index: 9999;
    width: 100%;
    height: 100%;
    display: none;
    -webkit-user-select: none;
}

#topdiv img {
    max-width: 100%;
}

#shareit {
    -webkit-user-select: none;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    top: 0;
    left: 0;
    z-index: 105;
}

#shareit img {
    max-width: 100%;
}

.arrow {
    position: absolute;
    right: 10%;
    top: 5%;
}


#share-text {
    margin-top: 400px;
}
</style>
    <script src="http://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>

</head>
<body style="margin: 0px;">
    <div width="100%" hight="100%">
        <div style="margin:100px;text-align: center" >
            <strong><%=data.msg%></strong>
            <p><span id="settime">5</span>s后进入果然100微商城...</p>
        </div>
    </div>
</body>
<script language="javascript" type="text/javascript">
    var interval = 1000;
    function ShowCountDown(endDate,divname)
    {
        var now = new Date();
        var leftsecond=endDate-now.getTime()/1000;
        var second=Math.floor(leftsecond);
        var cc = document.getElementById(divname);
        cc.innerHTML =second;
        if(second === 0){
            window.location.href = "http://wxshop.guoran100.com/"
        }
    }
    var endtime = 5+new Date().getTime()/1000 ;
    window.setInterval(function(){ShowCountDown(endtime,'settime');}, interval);
</script>
</html>